package com.ljfresh.customer.pojo;

import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * 客户回复数据对象
 * @Author zzx
 */
@Data
@ApiModel("回复对象(不包括类型)")
public class Reply {

    @ApiModelProperty("回复id")
    private Long  id;

    @ApiModelProperty("回复内容")
    private String content;

    @ApiModelProperty("内容的类型，text普通文本/html富文本")
    private String content_format;

    @ApiModelProperty("创建时间")
    @JSONField(format="yyyy-MM-dd HH:mm:ss")
    private Long created_at;

    @ApiModelProperty("回复类型,internal:内部备注／external:外部评论")
    private String function_type;

    /*@ApiModelProperty("状态")
    private String status_zh_name;*/

    @ApiModelProperty("回复者信息")
    private Customer author;

    @ApiModelProperty("附件的信息")
    private List<Attachment> attachments;
}
